package com.cstam.domain;

import java.sql.Date;

public class News {
	private int newsid;
	private String author;
	private Date time;
	private String title;
	private String text;
	private String type;
	
	public int getNewsid() {
		return newsid;
	}
	public void setNewsid(int newsid) {
		this.newsid = newsid;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public String getType(){
		return type;
	}
	public void setType(String type){
		this.type=type;
	}
	
}
